package com.acme;

public class Arrays {

	public static void main(String[] args){
		int[] array;
		array = new int[5];

		int m = 0;

		System.out.printf("%s %d\n", "The third element of the array: ", array[2]);

		for(int i = 0; i < 5; i++){
			array[i] = ++m;
			System.out.printf("%s%d%s%d\n", "The number of element: ", i, " value: ", array[i]);
		}

		System.out.printf("%s %d\n", "Length of the array: ", array.length);

	}

}